package com.yonyou.gmcc.gateway.web.entity;

import javax.persistence.*;

@Table(name = "TM_ROLE_POSITION_RELATION")
public class TmRolePositionRelation {
    @Id
    @Column(name = "ID")
    private Short id;

    @Column(name = "ROLE_ID")
    private Short roleId;

    @Column(name = "POSITION_ID")
    private Integer positionId;

    /**
     * @return ID
     */
    public Short getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Short id) {
        this.id = id;
    }

    /**
     * @return ROLE_ID
     */
    public Short getRoleId() {
        return roleId;
    }

    /**
     * @param roleId
     */
    public void setRoleId(Short roleId) {
        this.roleId = roleId;
    }

    /**
     * @return POSITION_ID
     */
    public Integer getPositionId() {
        return positionId;
    }

    /**
     * @param positionId
     */
    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }
}